package com.hsq.db137.demos.seriver.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hsq.db137.demos.entity.Rolemenu;
import com.hsq.db137.demos.mapper.RolemenuMapper;
import com.hsq.db137.demos.seriver.RolemenuService;
/**
 * @Author: hsq加油
 * @CreateTime: 2024/12/24-11:48
 * @Description: TODO
 * @Version: 1.0
 */
@Service
public class RolemenuServiceImpl extends ServiceImpl<RolemenuMapper, Rolemenu> implements RolemenuService{

    @Autowired
    RolemenuMapper rolemenuMapper;



    /**
     * 新镇角色菜单表
     * @param rolemenu 角色菜单类
     * @return 提示语句
     */
    @Override
    public String insertRolemenu(Rolemenu rolemenu) {
        return rolemenuMapper.insert(rolemenu)>0?"新增成功":"新镇失败";
    }


}
